<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http_equiv="Content_Type" content="text/html; charset=utf-8" />
<title>管理员管理</title>
<link href="<?=css_path();?>common.css" rel="stylesheet" type="text/css" />
<link href="<?=css_path();?>city.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="man_zone">
  <table width="99%" border="0" align="center" id="datalist"  cellpadding="3" cellspacing="1" class="table_style">
     <tr>
      <td colspan="5" class="center_title">管理员列表</td>
    </tr>
	<tr>
		<td width=20%>id</td>
		<td width=20%>管理员名</td>
        <td width=20%>类型</td>
		<td width=20%>添加时间</td>
		<td width=20%>操作</td>
	</tr>
<?php if(!empty($results)):?>
<?php foreach($results as $v):?>
	<tr>
		<td><?php echo $v->id;?></td>
		<td><?php echo $v->account;?></td>
	    <td><?php echo ($v->type=="super")?"超级管理员":"运营";?></td>
	    <td><?php echo get_date_time($v->addtime);?></td>
	    <td><a href="<?php echo site_url("admin/edit/".$v->id);?>">修改</a>&nbsp;&nbsp;<a onclick="return confirm('确定删除吗?');" href="<?php echo site_url("admin/delete/".$v->id);?>">删除</a></td>
	</tr>
<?php endforeach;?>
<?php endif;?>
	<tr>
		<td colspan="5" align="center"><?php echo $page;?></td>
	</tr>
	<tr>
        <td colspan="5" class="center_title"><input type="button" name="button" value="返回" onClick="javascript:window.history.back();" /></td>
	</tr>
  </table>
</div>
</body>
</html>

